You can administratively manage the state
of an SLX device using the XCO command line.
About this task
You can change a state to up or down,
delete a state from the history, and view the state history and the current state. For
details about the command and its parameters, see the
ExtremeCloud Orchestrator Command Reference,
3.6.0
.
Procedure
-
To change a device to the up
state, run the following command:
$ efa inventory admin-state up --ip <device IP>
AdminStateUp [success]
Admin State Up execution UUID: 8d9fa0cf-dc76-42cc-ac7a-57902a47c1b2
This example changes the state
of a specified IP address and generates a UUID, which you can use in the
efa inventory
admin-state detail command:
-
To change a device to the down
state, run the following command:
$ efa inventory admin-state down --ip <device IP>
AdminStateDown [success]
Admin State Down execution UUID: 28eb0845-7a7a-4851-b453-b3020c6900f2
This example changes the state
of a specified IP address and generates a UUID, which you can use in the
efa inventory
admin-state detail command.
-
To view the details of a state
change, run the following command:
$ efa inventory admin-state detail --uuid 28eb0845-7a7a-4851-b453-b3020c6900f2
-
To view the history of the admin
changes of a specified device, run the following command:
# efa inventory admin-state history --ip <device IP>
-
To display the admin state and
the health check state of a device, run the following command:
$ efa inventory admin-state show --ip <device IP>
-
To delete the instance of the
admin state change of a device, run the following command:
$ efa inventory admin-state delete --key <device IP or UUID>